package com.youbar.client.enums;

/**
 * 状态管理
 */
public class State {

    /**
     * 用户账户状态
     * NORMAL 正常, FROZEN 不可用, DELETE 已注销
     */
    public enum Account {
        FROZEN(0),NORMAL(1), DELETE(2);

        // 定义私有变量
        private int state;
        Account(int state) {
            this.state = state;
        }

        public int isState() {
            return state;
        }
    }

}
